package org.hong.monkey.network.util;

import java.util.NoSuchElementException;

public class SystemPropertyConfigProvider extends ConfigProvider {
    @Override
    public String get(String name) {
        String value = System.getProperty(name);
        if (value == null) {
            throw new NoSuchElementException(name);
        }
        return value;
    }
}
